package com.xbongbong.pro.detailtab.dto;

import com.xbongbong.paas.pojo.DetailTabPojo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zcp
 * @version v1.0
 * @date 2019/5/30 20:16
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class PanoramaInitDTO extends BaseDTO {
    private static final long serialVersionUID = 3055408393373012313L;

    /**
     * saas业务类型
     */
    @Getter(onMethod_ = {@QueryIgnore})
    @NotNull(message = "{dto.msg.myTeamGet.businessType.NotNull}")
    private Integer businessType;

    /**
     * 详情页tab
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<DetailTabPojo> tab;
}
